package com.fuershiye.woman.monitor.service;

import java.util.List;

import com.fuershiye.woman.monitor.beans.IdName;
import com.fuershiye.woman.monitor.model.Forms;

/**
 * @author yongyongdong
 *
 */
public interface FormsService {

    void save(Forms forms);
    
    void delete(Long id);
    
    Forms get(Long id);
    
    /**
     * @param name	报表名称的模糊查询
     * @param page	页码数(默认第一页)
     * @param pageSize	每页的大小(默认30条)	
     * @return
     */
    List<Forms> getPage(String name, Integer page, Integer pageSize);
    
    
    /**
     * 获取所有的类型(id和名称)
     * 
     * @return
     */
    List<IdName> getAllNames();
    
}
